/*

Eckhouse B23
Proposal title: Economic Reality or Perceived State? How Self-Interest Shapes Social Policy Preferences

HYPOTHESES

Stated-Hyp 1: Different forms of perceived selfinterest shape reactions to specific policy domains.

	Test-Hyp 1: Participants in the income condition will respond differently to the vague service provision question than participants in the control condition.
	Test-Hyp 2: Participants in the objective measures condition will respond differently to the vague service provision question than participants in the control condition.
	Test-Hyp 3: Participants in the subjective assessment condition will respond differently to the vague service provision question than participants in the control condition.
	Test-Hyp 4: Participants in the income condition will respond differently to the specific service provision question than participants in the control condition.
	Test-Hyp 5: Participants in the objective measures condition will respond differently to the specific service provision question than participants in the control condition.
	Test-Hyp 6: Participants in the subjective assessment condition will respond differently to the specific service provision question than participants in the control condition.
	Test-Hyp 7: Participants in the income condition will respond differently to the raising taxes on rich people question than participants in the control condition.
	Test-Hyp 8: Participants in the objective measures condition will respond differently to the raising taxes on rich people question than participants in the control condition.
	Test-Hyp 9: Participants in the subjective assessment condition will respond differently to the raising taxes on rich people question than participants in the control condition.
	
********************************************************************************

NOTES: 
	
None
	
*/

clear all
*import spss using "TESS157_Eckhouse_Main_client.sav", case(lower)
*sa EckhouseB23.dta, replace

use EckhouseB23.dta, clear

********************************************************************************

* RECODING

* experiment condition
	tab xtess157, mis
	tab xtess157, nolabel
	gen condition = xtess157
	recode condition (4=0)
	label define condition_label 1 "Income" 2 "Objective Measures" 3 "Subjective Assessment" 0 "Control"
	label values condition condition_label
	tab xtess157 condition

* DV
	
	tab t5_a, mis
	tab t5_a, nolabel
	replace t5_a = . if t5_a == -1
	gen raiseTaxesRich = t5_a
	tab raiseTaxesRich, mis
	
	tab t5_b, mis
	tab t5_b, nolabel
	replace t5_b = . if t5_b == -1
	gen vagueServiceProvision = t5_b
	tab vagueServiceProvision, mis

	tab t5_c, mis
	tab t5_c, nolabel
	replace t5_c = . if t5_c == -1
	gen specificServiceProvision = t5_c
	tab specificServiceProvision, mis

********************************************************************************

* ANALYSIS

* Test-Hyp 1: Participants in the income condition will respond differently to the vague service provision question than participants in the control condition.

	reg vagueServiceProvision i.condition if condition == 0 | condition == 1
	// no support for H1 (p = .503)
	tess 1.condition, init(EckhouseB23) bonf(3)
	
* Test-Hyp 2: Participants in the objective measures condition will respond differently to the vague service provision question than participants in the control condition.

	reg vagueServiceProvision i.condition if condition == 0 | condition == 2
	// no support for H2 (p = .972)
	tess 2.condition, bonf(3)
	
* Test-Hyp 3: Participants in the subjective assessment condition will respond differently to the vague service provision question than participants in the control condition.+

	reg vagueServiceProvision i.condition if condition == 0 | condition == 3
	// no support for H3 (p = .344)
	tess 3.condition, bonf(3)
	
* Test-Hyp 4: Participants in the income condition will respond differently to the specific service provision question than participants in the control condition.

	reg specificServiceProvision i.condition if condition == 0 | condition == 1
	// no support for H4 (p = .630)
	tess 1.condition, bonf(3)
	
* Test-Hyp 5: Participants in the objective measures condition will respond differently to the specific service provision question than participants in the control condition.

	reg specificServiceProvision i.condition if condition == 0 | condition == 2
	// no support for H5 (p = .446)
	tess 2.condition, bonf(3)
	
* Test-Hyp 6: Participants in the subjective assessment condition will respond differently to the specific service provision question than participants in the control condition.

	reg specificServiceProvision i.condition if condition == 0 | condition == 3
	// no support for H6 (p = .787)
	tess 3.condition, bonf(3)
	
* Test-Hyp 7: Participants in the income condition will respond differently to the raising taxes on rich people question than participants in the control condition.

	reg raiseTaxesRich i.condition if condition == 0 | condition == 1
	// no support for H7 (p = .601)
	tess 1.condition, bonf(3)
	
* Test-Hyp 8: Participants in the objective measures condition will respond differently to the raising taxes on rich people question than participants in the control condition.

	reg raiseTaxesRich i.condition if condition == 0 | condition == 2
	// no support for H8 (p = .271)
	tess 2.condition, bonf(3)
	
* Test-Hyp 9: Participants in the subjective assessment condition will respond differently to the raising taxes on rich people question than participants in the control condition.

	reg raiseTaxesRich i.condition if condition == 0 | condition == 3
	// no support for H9 (p = .315)
	tess 3.condition, bonf(3)
